package com.googlecode.openrtp.spi;

import java.io.IOException;
import com.googlecode.openrtp.spi.rtcp.RtcpCompoundPacket;

/**
 *
 * @author jocke
 */
public interface RtpSession {

    void connectRtcp(String host, int port) throws IOException;

    void connectRtp(String host, int port) throws IOException;

    <T> T set(Key<T> key, T value);

    <T> T lookup(Key<T> key);

    void appendToOutBuffer(byte[] data);

    byte[] retrieveDataFromOutBuffer();
}
